from django.contrib import admin

# Register your models here.


from k8sManage import models
from .models import ClusterInfo, KubeConfig


class ClusterInfoAdmin(admin.ModelAdmin):  # UserInfoAdmin类
    # list_display 后台管理展示哪些字段
    list_display = ("cluster_name", "cluster_address", "add_time")


admin.site.register(ClusterInfo, ClusterInfoAdmin)
admin.site.register(KubeConfig)
